// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Engine/StaticMeshActor.h"
#include "Battery.generated.h"

UCLASS()
class MISCELLANEOUSPROJECT_API ABattery : public AStaticMeshActor
{
	GENERATED_BODY()
public:
	ABattery();
	virtual void Tick(float DeltaTime) override;
	void ActiveState(bool _bActive, AActor* _targetActor);

	UPROPERTY(EditAnywhere)
	UMaterial* m_normal;
	
	UPROPERTY(EditAnywhere)
	UMaterial* m_active;
	
	UPROPERTY()
	AActor* targetActor;
	
	bool bActive = false;
};
